package com.bangf.service.impl;

import com.bangf.domain.*;
import com.bangf.repo.*;
import com.bangf.service.SaveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SaveServiceImpl implements SaveService {


    @Autowired
    private TownSumRepo townSumR;
    @Autowired
    private VillageSumRepo villageSumR;
    @Autowired
    private SatisfyRepo satisfyR;
    @Autowired
    private EvaluationRepo evaluationR;
    @Autowired
    private SumRepo fpSumR;
    @Autowired
    private ThanMonthRepo thanMonthR;
    @Autowired
    private ResidentRepo residentR;

    @Override
    public FpTownSum save(FpTownSum townSum) {
        return townSumR.save(townSum);
    }

    @Override
    public FpSatisfy save(FpSatisfy satisfy) {
        return satisfyR.save(satisfy);
    }

    @Override
    public FpEvaluation save(FpEvaluation evaluation) {
        return evaluationR.save(evaluation);
    }

    @Override
    public FpAllSum save(FpAllSum sum) {
        return fpSumR.save(sum);
    }

    @Override
    public FpThanMonth save(FpThanMonth thanMonth) {
        return thanMonthR.save(thanMonth);
    }

    @Override
    public FpResident save(FpResident resident) {
        return residentR.save(resident);
    }

    @Override
    public FpVillageSum save(FpVillageSum villageSum) {
        return villageSumR.save(villageSum);
    }


}
